package com.edfu.core.contentmgt.jcr.vo;

import java.io.InputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Content implements Serializable {
	
	private static final long serialVersionUID = -963737332819975310L;
	private String contentUUID;
	private String fullyQualifiedContentName;
	private List<ContentProperty> properties;
	private Date modifiedDate;
	private InputStream contentStream;
	private String workspaceName;
	private boolean isVersionable;
	private List<Content> children = new ArrayList<Content>();
	
	public String getContentUUID() {
		return contentUUID;
	}
	public void setContentUUID(String contentUUID) {
		this.contentUUID = contentUUID;
	}
	public String getFullyQualifiedContentName() {
		return fullyQualifiedContentName;
	}
	public void setFullyQualifiedContentName(String fullyQualifiedContentName) {
		this.fullyQualifiedContentName = fullyQualifiedContentName;
	}
	public List<ContentProperty> getProperties() {
		return properties;
	}
	public void setProperties(List<ContentProperty> properties) {
		this.properties = properties;
	}
	public Date getModifiedDate() {
		return modifiedDate;
	}
	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}
	public InputStream getContentStream() {
		return contentStream;
	}
	public void setContentStream(InputStream contentStream) {
		this.contentStream = contentStream;
	}
	public String getWorkspaceName() {
		return workspaceName;
	}
	public void setWorkspaceName(String workspaceName) {
		this.workspaceName = workspaceName;
	}
	public boolean isVersionable() {
		return isVersionable;
	}
	public void setVersionable(boolean isVersionable) {
		this.isVersionable = isVersionable;
	}
	public List<Content> getChildren() {
		return children;
	}
	public void setChildren(List<Content> children) {
		this.children = children;
	}
}
